@extends("base")

@section("body")
    <div class="col-sm-4 well col-sm-offset-4">
        <div class="col-sm-offset-2">
            <h1>Blog用户登录</h1>
        </div>
        <div class="col-sm-12">
            <form action="/_login" method="post">
                <div class="form-group">
                    <label>用户名：</label>
                    <input type="text" class="form-control" name="user_name" placeholder="用户名">
                </div>
                <div class="form-group">
                    <label>密码：</label>
                    <input type="password" class="form-control" name="user_password" placeholder="密码">
                </div>
                <button type="submit" class="btn btn-primary">登陆</button>
                <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
                <button type="reset"  class="btn btn-danger">重置</button>
            </form>
        </div>
    </div>
@stop